import requests


class LoginApi:
    def __init__(self):
        self.login_url = 'http://ihrm-test.itheima.net/api/sys/login'

    def test01_login(self, login_data):
        return requests.post(url=self.login_url, json=login_data)
